home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 108
/
jogo-disk-108.iso
/
Games
/
steppenwolf_1_chapter_3.swf
/
scripts
/
DefineButton2_958
/
BUTTONCONDACTION on(release, releaseOutside).as
< prev
Wrap
Text File
|
2010-05-15
|
856b
|
33 lines
on(release, releaseOutside){
stopDrag();
tellTarget("../../InvArrete")
{
gotoAndPlay(1);
}
_X = eval("/Variables:Xposition");
_Y = eval("/Variables:Yposition");
if(_droptarget eq "/Inventaire/DropZone" and eval("/Variables:ObjetSelect") == 15)
{
loadVariablesNum("/web/steppenwolf/tracking.jsp?episode=23&stage=54",0);
set("/Variables:InvNb",eval("/Variables:InvNb") - 1);
set("/Variables:Inv" + _name,16);
set("/Variables:ObjetCombine",15);
tellTarget("../../ControlCombine")
{
play();
}
tellTarget("../../InvSelection")
{
gotoAndStop(17);
}
}
else
{
set("/Variables:Frame",_currentframe);
tellTarget("../../InvSelection")
{
gotoAndStop(eval("/Variables:Frame"));
}
}
}